package com.example.wowangz.modules.user.model;

import java.io.Serializable;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * User的entity层
 * 
 * @author wowangz
 *
 */
@Table(name = "tbl_user")
public class User implements Serializable {

	private static final long serialVersionUID = -6696347343642181770L;

	@Id
	private String id;

	private String userName;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	@Override
	public String toString() {
		return "User: id = " + id + ", userName = " + userName;
	}
}
